package com.bbzn.device.client.dao.contact;

import com.bbzn.device.client.dataobject.Contact;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ContactMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Contact record);

    int insertOrUpdate(Contact record);

    int insertOrUpdateSelective(Contact record);

    int insertSelective(Contact record);

    Contact selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Contact record);

    int updateByPrimaryKey(Contact record);

    List<Contact> findByAll(Contact contact);

    int updateBatch(List<Contact> list);

    int updateBatchSelective(List<Contact> list);

    int batchInsert(@Param("list") List<Contact> list);
}